import { createWebHashHistory, createRouter } from 'vue-router';

import Layout from '@/layout/index.vue';

const routes = [
  { path: '/login', component: import('@/views/login/index.vue') },
  { path: '/', component: Layout },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
